package com.buddy.common.spring.zk.entity;

import com.buddy.common.spring.zk.interfaces.ZNode;
import lombok.Getter;
import lombok.Setter;

import java.util.Map;

@Setter
@Getter
public class ZConfigNode implements ZNode {
    private String path;
    private Map<String,Object> value;

    @Override
    public String path() {
        return path;
    }

    @Override
    public Byte[] value() {
        return new Byte[0];
    }
}
